
<?php if (validation_errors()) : ?>
<div class="notification error">
	<?php echo validation_errors(); ?>
</div>
<?php endif; ?>
<?php // Change the css classes to suit your needs    
if( isset($matchoddsratio) ) {
	$matchoddsratio = (array)$matchoddsratio;
}
$id = isset($matchoddsratio['match_odds_ratio_id']) ? "/".$matchoddsratio['match_odds_ratio_id'] : '';
?>
<?php echo form_open($this->uri->uri_string(), 'class="constrained ajax-form"'); ?>
<?php if(isset($matchoddsratio['match_odds_ratio_id'])): ?><input id="match_odds_ratio_id" type="hidden" name="match_odds_ratio_id" value="<?php echo $matchoddsratio['match_odds_ratio_id'];?>"  /><?php endif;?>
<div>
        <?php echo form_label('Match Odds Id', 'match_odds_id'); ?>
        <input id="match_odds_id" type="text" name="match_odds_id" maxlength="1000000" value="<?php echo set_value('match_odds_id', isset($matchoddsratio['match_odds_id']) ? $matchoddsratio['match_odds_id'] : ''); ?>"  />
</div>

<div>
        <?php echo form_label('League Team Id', 'league_team_id'); ?>
        <input id="league_team_id" type="text" name="league_team_id" maxlength="1" value="<?php echo set_value('league_team_id', isset($matchoddsratio['league_team_id']) ? $matchoddsratio['league_team_id'] : ''); ?>"  />
</div>

<div>
        <?php echo form_label('Ratio', 'ratio'); ?>
        <input id="ratio" type="text" name="ratio" maxlength="1000000" value="<?php echo set_value('ratio', isset($matchoddsratio['ratio']) ? $matchoddsratio['ratio'] : ''); ?>"  />
</div>

<div>
        <?php echo form_label('Ratio Information', 'ratio_information'); ?>
        <input id="ratio_information" type="text" name="ratio_information" maxlength="45" value="<?php echo set_value('ratio_information', isset($matchoddsratio['ratio_information']) ? $matchoddsratio['ratio_information'] : ''); ?>"  />
</div>



	<div class="text-right">
		<br/>
		<input type="submit" name="submit" value="Edit matchoddsratio" /> or <?php echo anchor(SITE_AREA .'/developer/matchoddsratio', lang('matchoddsratio_cancel')); ?>
	</div>
	<?php echo form_close(); ?>

	<div class="box delete rounded">
		<a class="button" id="delete-me" href="<?php echo site_url(SITE_AREA .'/developer/matchoddsratio/delete/'. $id); ?>" onclick="return confirm('<?php echo lang('matchoddsratio_delete_confirm'); ?>')"><?php echo lang('matchoddsratio_delete_record'); ?></a>
		
		<h3><?php echo lang('matchoddsratio_delete_record'); ?></h3>
		
		<p><?php echo lang('matchoddsratio_edit_text'); ?></p>
	</div>
